@charset "utf-8";
/* css/style_fiche_produit.css */

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 50%;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f1f5f9;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}


hr {
    margin: 1.5rem auto;
    width: 70%;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
}
/* Container global */
.grand-container-densemble {
    display: flex;align-content: space-around;
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    gap: 2rem;
    flex-wrap: wrap;
}

.premier-partie {
    flex-basis: 45%;
}

.deuxieme-partie {
    flex-basis: 50%;
}

/* Responsive flex stacking */
@media (max-width: 600px) {
    .grand-container-densemble {
        flex-direction: column;
        padding: 1rem;
    }
    .deuxieme-partie {
        flex-basis: 100%;
    }
}

/* Fiche produit principale */
.container-fiche {
    max-width: 1000px;
    margin: auto;
    padding: 0 1.5rem;
}

/* Galerie images */
.container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
/* Slideshow */
.mySlides {
  display: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mySlides img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  user-select: none;
}

/* Flèches de navigation */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: white;
  font-weight: bold;
  font-size: 28px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.4);
  line-height: 40px;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s;
  z-index: 10;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Miniatures sous la galerie */
.row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.column {
  flex: 0 0 60px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.column img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
  user-select: none;
  border-radius: 6px;
}

.active, .column:hover {
  box-shadow: 0 0 10px #16a085;
  opacity: 1 !important;
}

.demo {
  opacity: 0.6;
  transition: opacity 0.3s;
}

/* Miniatures images */
.product-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.product-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}


.product-images img:hover,
.product-images img.active {
    opacity: 1;
    border-color: #38bdf8;
    transform: scale(1.05);
}
/* Nom produit */
.nom-produit {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.nom-produit h1 {
    font-size: 2.4rem;
   
    padding-bottom: 1rem;
    text-align: left;
    color: #38bdf8;
	 font-weight: 600;
}


.nom-produit p {
     font-size: 1.6rem;
    color: #cbd5e1;
    padding-bottom: 1rem;
    text-align: left;
}


/* Bouton ajouter au panier */
.nom-produit button {
    display: block;
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nom-produit button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(37,99,235,0.4);
}

/* Responsive bouton */
@media (max-width: 768px) {
    .nom-produit button {
        font-size: 1.4rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Groupe boutons état */
.btn-group {
    max-width: 100%;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
    text-align: center;
    font-size: 1.6rem;
    color: #555;
}

.btn-group h2 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    color: #555;
    text-align: left;
}

.btn1, .btn3, .btn4 {
    background-color: #E7E7E2;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn2 {
    background-color: #48bdcb;
    border: 1px solid #0e273b;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
}

.btn1:hover, .btn3:hover, .btn4:hover {
    background-color: #d1d1ca;
}

.btn2:hover {
    background-color: #3992a1;
}

@media (max-width: 600px) {
    .btn-group {
        width: 90%;
        margin: 1rem auto;
    }
}

/* Remarques produit */
.remarque-sur-le-produit {border: 1px solid red;border-radius:8px; 
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.remarque1 p,
.remarque2 p {
    font-size: 1.6rem;
    color: #E5DEDE;
    margin: 1rem 0;
    line-height: 1.5;
}

/* Garantie */
.container-garantie, .container-garantie1 {border: 1px solid red;border-radius:8px; 
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}


/* Bloc garantie */
.container-garantie1 {
    border: 1px solid #38bdf8;
    border-radius: 8px;
    padding: 1rem;
}
.garantie p {
    font-size: 1.6rem;
    color:  #E5DEDE;
    margin: 1rem 0;
    padding-left: 0.5rem;
}
.container-garantie p a {  
    color: #fff;  
}

.garantie1 p {
    font-size: 1.8rem;
    color: #38bdf8;
}

/* Accordeon */
h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.half {
    float: right;
    width: 93%;
    padding: 0 1em;
}

@media (max-width: 600px) {
    .half {
        width: 100%;
        float: none;
        padding: 0;
    }
}

.tab {
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    color: #fff;
    font-size: 1.6rem;
    overflow: hidden;
}

.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab label {
    display: block;
    padding-left: 1em;
   background: #2563eb;
    font-weight: bold;
    line-height: 3;
    cursor: pointer;
    position: relative;
    user-select: none;
}


.blue label {
    background: #38bdf8;
}
.tab-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(30,41,59,0.95);
    transition: max-height 0.35s ease;
    color: #fff;
}

.blue .tab-content {
    background: #3498db;
}

.tab-content p {
    margin: 1em;
}

.tab input:checked ~ .tab-content {
    max-height: 100vh;
}

/* Icon accordéon */
.tab label::after {
    content: "︾";
    position: absolute;
    right: 0;
    top: 0;
    width: 3em;
    height: 3em;
    line-height: 3;
    text-align: center;
    transition: transform 0.35s ease;
}

.tab input[type=checkbox] + label::after {
    content: "︾";
}

.tab input[type=radio] + label::after {
    content: "\25BC";
}

.tab input[type=checkbox]:checked + label::after {
    transform: rotate(180deg);
}

.tab input[type=radio]:checked + label::after {
    transform: rotateX(180deg);
}

/* 3 colonnes section */
.contaier-colonne {
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.col-container {
    margin: 2.5rem 0;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.col {
    flex: 1 1 30%;
    text-align: center;
    padding: 1rem;
    background: rgba(30,41,59,0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.col:hover {
    transform: translateY(-5px);
}

.col h2 {
    font-size: 1.8rem;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.col p {
    font-size: 1.4rem;
     color: #e2e8f0;
    line-height: 1.5;
}

/* Responsive 3 colonnes */
@media (max-width: 600px) {
    .col-container {
        flex-direction: column;
    }
    .col {
        width: 100%;
        margin-bottom: 1rem;
    }
}


